package com.shisfish.library.Model;



import java.util.Date;

import com.shisfish.core.Model.Model;

public class BookLend extends Model {

	private String barCode;
	private String isbn;
	private String loanid;
	private String borrower;
	private String adder;
	private Date shouldReturnTime;
	private Date actualReturnTime;
	private int lendStatus;
	private int moreLendStatus = 0;
	
	private Book book;
	
	private BookSingle bookSingle;
	
	private User user;
	
	public BookLend() {
		super();
	}
	public BookLend(String barCode, String isbn, String loanid,
			String borrower, String adder, Date shouldReturnTime,
			Date actualReturnTime, int lendStatus) {
		super();
		this.barCode = barCode;
		this.isbn = isbn;
		this.loanid = loanid;
		this.borrower = borrower;
		this.adder = adder;
		this.shouldReturnTime = shouldReturnTime;
		this.actualReturnTime = actualReturnTime;
		this.lendStatus = lendStatus;
	}
	public String getBarCode() {
		return barCode;
	}
	public void setBarCode(String barCode) {
		this.barCode = barCode;
	}
	public String getIsbn() {
		return isbn;
	}
	public void setIsbn(String isbn) {
		this.isbn = isbn;
	}
	public String getLoanid() {
		return loanid;
	}
	public void setLoanid(String loanid) {
		this.loanid = loanid;
	}
	public String getBorrower() {
		return borrower;
	}
	public void setBorrower(String borrower) {
		this.borrower = borrower;
	}
	public String getAdder() {
		return adder;
	}
	public void setAdder(String adder) {
		this.adder = adder;
	}
	public Date getShouldReturnTime() {
		return shouldReturnTime;
	}
	public void setShouldReturnTime(Date shouldReturnTime) {
		this.shouldReturnTime = shouldReturnTime;
	}
	public Date getActualReturnTime() {
		return actualReturnTime;
	}
	public void setActualReturnTime(Date actualReturnTime) {
		this.actualReturnTime = actualReturnTime;
	}
	public int getLendStatus() {
		return lendStatus;
	}
	public void setLendStatus(int lendStatus) {
		this.lendStatus = lendStatus;
	}
	public Book getBook() {
		return book;
	}
	public void setBook(Book book) {
		this.book = book;
	}
	public BookSingle getBookSingle() {
		return bookSingle;
	}
	public void setBookSingle(BookSingle bookSingle) {
		this.bookSingle = bookSingle;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public int getMoreLendStatus() {
		return moreLendStatus;
	}
	public void setMoreLendStatus(int moreLendStatus) {
		this.moreLendStatus = moreLendStatus;
	}
	
	
}
